package com.ice.lend.server;

import com.ice.lend.service.TestLendService;
import com.lend.service.LendIce.LendIceServer;
import com.zeroc.Ice.Current;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/11/28.
 */
@Service("lendIceServer")
public class LendIceServerImpl implements LendIceServer {
    @Autowired
    private TestLendService testLendService;

    public String lend(String jsonStr, Current current) {
        return testLendService.lend(jsonStr);
    }

    public String queryLendRecord(String jsonStr, Current current) {
        return testLendService.queryLendRecord(jsonStr);
    }
}
